package com.tedu.parkinglot.parklot.mapper;

import com.tedu.parkinglot.parklot.pojo.dto.ParklotQuery;
import com.tedu.parkinglot.parklot.pojo.entity.ParklotAdmin;
import com.tedu.parkinglot.parklot.pojo.vo.ParkRecordVO;
import com.tedu.parkinglot.parklot.pojo.vo.ParklotVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ParklotMapper {
    List<ParklotVO> select(ParklotQuery parklotQuery);

    void insert(ParklotAdmin parklotAdmin);

    void update(ParklotAdmin parklotAdmin);

    void deleteParking(Long id);

    ParkRecordVO selectRecordById(Long id);
}
